package com.bwda.dsrs.filecenter.service;

import com.bwda.dsrs.filecenter.domain.po.terminalblacklist.TerminalBlackListPo;
import com.bwda.dsrs.filecenter.domain.condition.terminalblacklist.TerminalBlackListCondition;

import java.util.List;
/**
 *
 *
 * @author system
 * @date 2019/4/26
 */
public interface TerminalBlackListService extends BaseService<TerminalBlackListPo, TerminalBlackListCondition> {

	/**
	 * 批量删除
	 * @param id
	 */
	void batchDelete(List<Integer> id);

	/**
	 *判断一个ip地址是否在某个ip段范围内
	 * @param ip
	 * @param startIp
	 * @param endIp
	 * @return
	 */
	boolean ipExistsInRange(String ip, String startIp, String endIp);
}